package com.tuozixuan.camel;

import org.apache.camel.builder.RouteBuilder;
import org.springframework.stereotype.Component;

@Component
public class TransformDemoRoute extends RouteBuilder {

	@Override
	public void configure() {
	    
		from("direct:cheese")
	    .setBody(simple("Hello ${body}"))
	    .to("log:hello");
	}

}
